<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title><%= strip_tags @page_title %></title>
  <%= stylesheet_link_tag 'default' %>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag "museum_objects" %>
</head>
<body>
	<div id="page">
		<%= link_to_content("Skip navigation")%>
	<div id="header">

		<div class="site_identity">
			<p class="site_name"><%= link_to_homepage("museum-collections.org")%></p>
			<% if @museum && @museum.id %><p class="sub_site_name"><%= link_to(@museum.name, museum_path(@museum.id)) %></p><% end %>

		</div>
			
		<% if @museum && @museum.id %>	
		<ul>
			<li><%= navigation_link_to("Who", museum_collectors_path(@museum.id))%></li>
			<li><%= navigation_link_to("What", museum_object_types_path(@museum.id))%></li>
			<li><%= navigation_link_to("Where", museum_countries_path(@museum.id))%></li>
			<li><%= navigation_link_to("When", museum_years_path(@museum.id))%></li>
			<li><%= navigation_link_to("How", museum_acquisition_methods_path(@museum.id))%></li>
		</ul><div style="clear: both"></div>
		<% end %>
	</div>
	<div id="body">
		<%= flash[:notice] if flash[:notice]%>
		<%= yield %>			
	</div>
	
	
	<%= if ENV['RAILS_ENV'] == 'production'
	 end %>

</body>
</html>
